package com.wuxiaofan.common.exception;

import lombok.Getter;

@Getter
public enum GlobalExceptionEnum {

    SUCCESS(200, "请求成功"),
    FAILURE(500, "系统异常"),
    PARAMETER_ERROR(411, "参数异常"),
    ;


    private Integer code;
    private String message;


    GlobalExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


}
